package ch03.d5;

import org.junit.Test;

public class PersonTest {
    @Test
    public void testNew(){
        Person p=new Person();
        String s="黑色";

        p.m1(s);

        System.out.println(s);

    }

    @Test
    public void testDog(){
        Person p=new Person();
        Dog d=new Dog("黑色");
        p.feed(d);

    }
}
